package com.ajaaxx.datatypes;

import java.util.Set;

public class User {

	private int cedulla;
	private int surveyComplete;
	private String userName;
	private String userType;
	private String currentSemester;
	private String department;
	
	private Set<Subject> subjects;
	
	public int getCedulla() {
		return cedulla;
	}
	public void setCedulla(int cedulla) {
		this.cedulla = cedulla;
	}
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserType() {
		return userType;
	}
	public void setUserType(String userType) {
		this.userType = userType;
	}
	public String getCurrentSemester() {
		return currentSemester;
	}
	public void setCurrentSemester(String currentSemester) {
		this.currentSemester = currentSemester;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public Set<Subject> getSubjects() {
		return subjects;
	}
	public void setSubjects(Set<Subject> subjects) {
		this.subjects = subjects;
	}
	
	
	public int getSurveyComplete() {
		return surveyComplete;
	}
	public void setSurveyComplete(int surveyComplete) {
		this.surveyComplete = surveyComplete;
	}
	@Override
	public String toString() {
		StringBuffer buff = new StringBuffer();
		buff.append("cedulla        :"+cedulla+"\n");
		buff.append("userName       :"+userName+"\n");
		buff.append("userType       :"+userType+"\n");
		buff.append("department     :"+department+"\n");
		buff.append("surveyComplete :"+surveyComplete+"\n");
		return buff.toString();
	}
	
}
